// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
// 主程序入口文件
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/font-awesome/css/font-awesome.min.css'
import VueResource from 'vue-resource'
Vue.config.productionTip = false
Vue.use(VueResource)
/* eslint-disable no-new */
Vue.filter('numFix', function(val){
  return val > 10000 ? (val / 10000).toFixed(2) + '万' : val
})
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
